//
//  AppDelegate.swift
//  STest
//
//  Created by wang tiao on 2025/9/1.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        
        
//        LanguageManager.shared.currentLanguage = .chineseSimplified

        let window = UIWindow(frame: UIScreen.main.bounds)
        window.rootViewController = UINavigationController(rootViewController: ViewController())
        
        // 全局强制浅色/深色
        window.overrideUserInterfaceStyle = .light // 或 .light
        
        self.window = window
        window.makeKeyAndVisible()
 

        return true
    }
    
    
}



